﻿<Window
	x:Class="AWZhome.awzBoxes.TestApp.MainWindow"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:box="clr-namespace:AWZhome.awzBoxes;assembly=awzBoxes"
	Title="MainWindow" Height="622" Width="961">

	<Grid>
		<box:BoxWindowContainer x:Name="BoxWindowContainer">
			<!-- Setting the side areas -->
			<box:BoxWindowContainer.TopBoxArea>
				<box:BoxArea>
					<box:BoxLine>
						<box:Box>
							<!-- "Top Window 1" -->
							<box:BoxItem Name="Top Window 1"
										 Title="Top Window 1">
								<Button Click="Button_Click_4">Hide/show neighbor</Button>
							</box:BoxItem>
						</box:Box>
						<box:Box>
							<!-- "Top Window 2" -->
							<box:BoxItem Name="Top Window 2"
										 Title="Top Window 2" Icon="/NewDocumentHS.png">
							</box:BoxItem>
						</box:Box>
						<box:Box>
							<!-- "Top Window 3" -->
							<box:BoxItem Name="Top Window 3"
										 Title="Top Window 3">

							</box:BoxItem>
						</box:Box>
					</box:BoxLine>
				</box:BoxArea>
			</box:BoxWindowContainer.TopBoxArea>
			<box:BoxWindowContainer.BottomBoxArea>
				<box:BoxArea>
					<box:BoxLine>
						<box:Box>
							<!-- "Bottom Window 1" -->
							<box:BoxItem Name="Bottom Window 1"
										 Title="Bottom Window 1">
								<Button Click="Button_Click_2">Hide/show neighbor</Button>
							</box:BoxItem>
						</box:Box>
						<box:Box>
							<!-- "Bottom Window 2" -->
							<box:BoxItem Name="Bottom Window 2"
										 Title="Bottom Window 2" Icon="/NewDocumentHS.png">
							</box:BoxItem>
						</box:Box>
						<box:Box>
							<!-- "Bottom Window 3" -->
							<box:BoxItem Name="Bottom Window 3"
										 Title="Bottom Window 3">

							</box:BoxItem>
						</box:Box>
					</box:BoxLine>
				</box:BoxArea>
			</box:BoxWindowContainer.BottomBoxArea>
			<box:BoxWindowContainer.LeftBoxArea>
				<box:BoxArea>
					<box:BoxLine>
						<box:Box>
							<!-- "Left Window 1" -->
							<box:BoxItem Name="Left Window 1"
										 Title="Left Window 1">
								<Button Click="Button_Click_5">Hide/show neighbor</Button>
							</box:BoxItem>
						</box:Box>
					</box:BoxLine>
					<box:BoxLine>
						<box:Box>
							<!-- "Window 1" -->
							<box:BoxItem Name="Window 1"
										 IsHighlighted="True"
										 Title="Window 1"
										 IsChanged="True"
										 Progress="50"
										 Icon="/NewDocumentHS.png">
								<TextBox></TextBox>
							</box:BoxItem>
						</box:Box>
					</box:BoxLine>
				</box:BoxArea>
			</box:BoxWindowContainer.LeftBoxArea>
			<box:BoxWindowContainer.RightBoxArea>
				<box:BoxArea>
					<box:BoxLine>
						<box:Box>
							<!-- "Bottom Window 1" -->
							<box:BoxItem Name="Right Window 1"
										 Title="Right Window 1">
								<Button Click="Button_Click_3">Hide/show neighbor</Button>
							</box:BoxItem>
						</box:Box>
					</box:BoxLine>
					<box:BoxLine>
						<box:Box>
							<!-- "Bottom Window 2" -->
							<box:BoxItem Name="Right Window 2"
										 Title="Right Window 2" Icon="/NewDocumentHS.png">
							</box:BoxItem>
						</box:Box>
					</box:BoxLine>
					<box:BoxLine>
						<box:Box>
							<!-- "Bottom Window 3" -->
							<box:BoxItem Name="Right Window 3"
										 Title="Right Window 3">

							</box:BoxItem>
						</box:Box>
					</box:BoxLine>
				</box:BoxArea>
			</box:BoxWindowContainer.RightBoxArea>

			<!-- Main area of the window -->
			<box:BoxArea ActiveBoxItemChanged="BoxArea_ActiveBoxItemChanged">
				<box:BoxLine>
					<box:Box>
						<!-- "Fixed Window" -->
						<box:BoxItem Name="Fixed Window" Title="Fixed Window" IsClosable="False">
							<UniformGrid Margin="0,0,0,0">
								<Button Click="Button_Click">Save layout</Button>
								<Button Click="Button_Click_1">Restore layout</Button>
							</UniformGrid>
						</box:BoxItem>

						<!-- "Window 3" -->
						<box:BoxItem Name="Window 3" Title="Window 3" AllowedDockAreas="DockInnerArea">

						</box:BoxItem>
					</box:Box>
					<box:Box>
						<!-- "Other Window" -->
						<box:BoxItem Name="Other Window" Title="Other Window">

						</box:BoxItem>
					</box:Box>
				</box:BoxLine>
				<box:BoxLine>
					<box:Box>
						<!-- "Window 2" -->
						<box:BoxItem Name="Window 2" Title="Window 2" Closing="BoxItem_Closing">

						</box:BoxItem>
					</box:Box>
				</box:BoxLine>
			</box:BoxArea>
		</box:BoxWindowContainer>
	</Grid>
</Window>
